package com.gongj.stream.demo1;

public class Employee {
    private String name;
    private Integer age;
    private Double salary;


    public Employee() {
    }
    public Employee(String name, Integer age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public Employee(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public Integer getAge() {
        return age;
    }
    public Double getSalary() {
        return salary;
    }

    @Override
    public String toString() {
        return "name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary;
    }
}
